﻿using B.X.Rabbit.ErrorCode;
using B.X.Rabbit.Read.Api.DTO;
using MediatR;

namespace B.X.Rabbit.Read.Api.Application.Command.Login
{
    /// <summary>
    /// 
    /// </summary>
    public class LoginQueryCommand : IRequest<ApiResult<UserDto>>
    {
        /// <summary>
        /// 登录名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }
    }
}

